package com.jiangli.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class MerchantRating {
    private Long id;
    private Long userId;
    private Long merchantId;
    private Float rating;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }


}
